class Solution:
    def runningSum(self, nums: List[int]) -> List[int]:
        length=len(nums)
        ans=[]
        s=0
        for i in range(length):
            s=s+nums[i]
            ans.append(s)
        return ans

